//
//  CHAlertAction.swift
//  jyzx
//
//  Created by cyptt on 2022/4/29.
//

import UIKit

public class CHAlertAction: NSObject {
    
    public enum Style : Int {
        case `default` = 0
        case cancel = 1
    }
    public  init(title: String?, style: CHAlertAction.Style, isClose:Bool,handler: ((CHAlertAction) -> Void)? = nil){
        super.init()
        self.style = style
        self.title = title
        self.handelr = handler
        self.isClose = isClose
    }

    
    public var title: String?

    public  var style: CHAlertAction.Style?

    public  var handelr:((CHAlertAction) -> Void)? = nil
    
    public  var isClose:Bool?
}
